﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
    x:Class="myBoard.PostIt.PostIt"
    Height="205" Width="238" xmlns:myBoard_PostIt="clr-namespace:myBoard.PostIt">
	<UserControl.Resources>    
		<LinearGradientBrush x:Key="TextBoxBorder" EndPoint="0,20" StartPoint="0,0" MappingMode="Absolute">
			<GradientStop Color="#ABADB3" Offset="0.05"/>
			<GradientStop Color="#E2E3EA" Offset="0.07"/>
			<GradientStop Color="#E3E9EF" Offset="1"/>      
		</LinearGradientBrush>
		<Style x:Key="TextBoxStyle1" BasedOn="{x:Null}" TargetType="{x:Type TextBox}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"/>
			<Setter Property="BorderBrush" Value="{StaticResource TextBoxBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="AllowDrop" Value="true"/>
			<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type TextBox}">
						<Microsoft_Windows_Themes:ListBoxChrome SnapsToDevicePixels="true" x:Name="Bd" Background="{TemplateBinding Background}" BorderThickness="0,0,0,0">
							<ScrollViewer SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" x:Name="PART_ContentHost"/>
						</Microsoft_Windows_Themes:ListBoxChrome>
						<ControlTemplate.Triggers>
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Background" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
								<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ButtonFocusVisual">
			<Setter Property="Control.Template">
				<Setter.Value>
					<ControlTemplate>
						<Rectangle SnapsToDevicePixels="true" Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" Margin="2"/>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<LinearGradientBrush x:Key="ButtonNormalBackground" EndPoint="0,1" StartPoint="0,0">
			<GradientStop Color="#F3F3F3" Offset="0"/>
			<GradientStop Color="#EBEBEB" Offset="0.5"/>
			<GradientStop Color="#DDDDDD" Offset="0.5"/>
			<GradientStop Color="#CDCDCD" Offset="1"/>
		</LinearGradientBrush>
		<SolidColorBrush x:Key="ButtonNormalBorder" Color="#FF707070"/>
		<Style x:Key="InfoButStyle" TargetType="{x:Type Button}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{StaticResource ButtonNormalBackground}"/>
			<Setter Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Grid Width="Auto" Height="Auto">
							<Ellipse Fill="#00000000" Stroke="{x:Null}" Width="18" Height="18" x:Name="ellipse"/>
							<Label HorizontalAlignment="Center" SnapsToDevicePixels="True" Margin="0,0,2,0" VerticalAlignment="Center" Content="i" FontFamily="Monotype Corsiva" FontSize="16" FontWeight="Bold" Foreground="#FF626262" Padding="0,0,0,0" Width="Auto" Height="Auto"/>
						</Grid>
						<ControlTemplate.Triggers>
							<Trigger Property="IsMouseOver" Value="True">
								<Setter Property="Fill" TargetName="ellipse" Value="#19000000"/>
							</Trigger>
							<Trigger Property="IsKeyboardFocused" Value="true"/>
							<Trigger Property="ToggleButton.IsChecked" Value="true"/>
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="#ADADAD"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Storyboard x:Key="ShowInfoButton">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_frontFlipButton" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="HideInfoButton">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="_frontFlipButton" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<SolidColorBrush x:Key="CheckBoxFillNormal" Color="#F4F4F4"/>
		<SolidColorBrush x:Key="CheckBoxStroke" Color="#8E8F8F"/>
		<Style x:Key="EmptyCheckBoxFocusVisual">
			<Setter Property="Control.Template">
				<Setter.Value>
					<ControlTemplate>
						<Rectangle SnapsToDevicePixels="true" Margin="1" Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1"/>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="CheckRadioFocusVisual">
			<Setter Property="Control.Template">
				<Setter.Value>
					<ControlTemplate>
						<Rectangle SnapsToDevicePixels="true" Margin="14,0,0,0" Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1"/>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="PaperCbxStyle" TargetType="{x:Type CheckBox}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="{StaticResource CheckBoxFillNormal}"/>
			<Setter Property="BorderBrush" Value="{StaticResource CheckBoxStroke}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="FocusVisualStyle" Value="{StaticResource EmptyCheckBoxFocusVisual}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type CheckBox}">
						<ControlTemplate.Resources>
							<Storyboard x:Key="Check">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Visible}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
							<Storyboard x:Key="UnCheck">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Collapsed}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
						</ControlTemplate.Resources>
						<Border Width="30" Height="30">
							<Border.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFFEF8BF" Offset="0"/>
									<GradientStop Color="#FFFDEC74" Offset="1"/>
								</LinearGradientBrush>
							</Border.Background>
							<Path Width="19.678" Height="18.182" Fill="#FF3F3F3F" Stretch="Fill" Stroke="{x:Null}" Data="M2.7005872,13.530775 L10.24024,16.127995 21.188366,4.5704192 11.39954,21.749903 z" Visibility="Collapsed" x:Name="path"/>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsChecked" Value="True">
								<Trigger.ExitActions>
									<BeginStoryboard Storyboard="{StaticResource UnCheck}" x:Name="UnCheck_BeginStoryboard"/>
								</Trigger.ExitActions>
								<Trigger.EnterActions>
									<BeginStoryboard Storyboard="{StaticResource Check}"/>
								</Trigger.EnterActions>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Storyboard x:Key="Check">
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Visible}"/>
			</ObjectAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="UnCheck">
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Collapsed}"/>
			</ObjectAnimationUsingKeyFrames>
		</Storyboard>
		<Style x:Key="OrangeCheckBoxStyle" TargetType="{x:Type CheckBox}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="{StaticResource CheckBoxFillNormal}"/>
			<Setter Property="BorderBrush" Value="{StaticResource CheckBoxStroke}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="FocusVisualStyle" Value="{StaticResource EmptyCheckBoxFocusVisual}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type CheckBox}">
						<ControlTemplate.Resources>
							<Storyboard x:Key="Check">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Visible}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
							<Storyboard x:Key="UnCheck">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Collapsed}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
						</ControlTemplate.Resources>
						<Border Width="30" Height="30">
							<Border.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFFDDD99" Offset="0"/>
									<GradientStop Color="#FFFCAE42" Offset="1"/>
								</LinearGradientBrush>
							</Border.Background>
							<Path Visibility="Collapsed" x:Name="path" Width="19.678" Height="18.182" Fill="#FF3F3F3F" Stretch="Fill" Stroke="{x:Null}" Data="M2.7005872,13.530775 L10.24024,16.127995 21.188366,4.5704192 11.39954,21.749903 z"/>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsChecked" Value="True">
								<Trigger.EnterActions>
									<BeginStoryboard Storyboard="{StaticResource Check}"/>
								</Trigger.EnterActions>
								<Trigger.ExitActions>
									<BeginStoryboard x:Name="UnCheck_BeginStoryboard" Storyboard="{StaticResource UnCheck}"/>
								</Trigger.ExitActions>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="LightGreenBoxStyle" TargetType="{x:Type CheckBox}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="{StaticResource CheckBoxFillNormal}"/>
			<Setter Property="BorderBrush" Value="{StaticResource CheckBoxStroke}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="FocusVisualStyle" Value="{StaticResource EmptyCheckBoxFocusVisual}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type CheckBox}">
						<ControlTemplate.Resources>
							<Storyboard x:Key="Check">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Visible}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
							<Storyboard x:Key="UnCheck">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Collapsed}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
						</ControlTemplate.Resources>
						<Border Width="30" Height="30">
							<Border.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFE6FFB4" Offset="0"/>
									<GradientStop Color="#FFB7FE65" Offset="1"/>
								</LinearGradientBrush>
							</Border.Background>
							<Path Visibility="Collapsed" x:Name="path" Width="19.678" Height="18.182" Fill="#FF3F3F3F" Stretch="Fill" Stroke="{x:Null}" Data="M2.7005872,13.530775 L10.24024,16.127995 21.188366,4.5704192 11.39954,21.749903 z"/>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsChecked" Value="True">
								<Trigger.EnterActions>
									<BeginStoryboard Storyboard="{StaticResource Check}"/>
								</Trigger.EnterActions>
								<Trigger.ExitActions>
									<BeginStoryboard x:Name="UnCheck_BeginStoryboard" Storyboard="{StaticResource UnCheck}"/>
								</Trigger.ExitActions>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="GreenCheckBoxStyle" TargetType="{x:Type CheckBox}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="{StaticResource CheckBoxFillNormal}"/>
			<Setter Property="BorderBrush" Value="{StaticResource CheckBoxStroke}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="FocusVisualStyle" Value="{StaticResource EmptyCheckBoxFocusVisual}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type CheckBox}">
						<ControlTemplate.Resources>
							<Storyboard x:Key="Check">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Visible}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
							<Storyboard x:Key="UnCheck">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Collapsed}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
						</ControlTemplate.Resources>
						<Border Width="30" Height="30">
							<Border.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFC2FEB4" Offset="0"/>
									<GradientStop Color="#FF79FE66" Offset="1"/>
								</LinearGradientBrush>
							</Border.Background>
							<Path Visibility="Collapsed" x:Name="path" Width="19.678" Height="18.182" Fill="#FF3F3F3F" Stretch="Fill" Stroke="{x:Null}" Data="M2.7005872,13.530775 L10.24024,16.127995 21.188366,4.5704192 11.39954,21.749903 z"/>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsChecked" Value="True">
								<Trigger.EnterActions>
									<BeginStoryboard Storyboard="{StaticResource Check}"/>
								</Trigger.EnterActions>
								<Trigger.ExitActions>
									<BeginStoryboard x:Name="UnCheck_BeginStoryboard" Storyboard="{StaticResource UnCheck}"/>
								</Trigger.ExitActions>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="LightBlueCheckBoxStyle" TargetType="{x:Type CheckBox}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="{StaticResource CheckBoxFillNormal}"/>
			<Setter Property="BorderBrush" Value="{StaticResource CheckBoxStroke}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="FocusVisualStyle" Value="{StaticResource EmptyCheckBoxFocusVisual}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type CheckBox}">
						<ControlTemplate.Resources>
							<Storyboard x:Key="Check">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Visible}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
							<Storyboard x:Key="UnCheck">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Collapsed}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
						</ControlTemplate.Resources>
						<Border Width="30" Height="30">
							<Border.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFDCF5FF" Offset="0"/>
									<GradientStop Color="#FFA2E3FE" Offset="1"/>
								</LinearGradientBrush>
							</Border.Background>
							<Path Visibility="Collapsed" x:Name="path" Width="19.678" Height="18.182" Fill="#FF3F3F3F" Stretch="Fill" Stroke="{x:Null}" Data="M2.7005872,13.530775 L10.24024,16.127995 21.188366,4.5704192 11.39954,21.749903 z"/>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsChecked" Value="True">
								<Trigger.EnterActions>
									<BeginStoryboard Storyboard="{StaticResource Check}"/>
								</Trigger.EnterActions>
								<Trigger.ExitActions>
									<BeginStoryboard x:Name="UnCheck_BeginStoryboard" Storyboard="{StaticResource UnCheck}"/>
								</Trigger.ExitActions>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="BlueCheckBoxStyle" TargetType="{x:Type CheckBox}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="{StaticResource CheckBoxFillNormal}"/>
			<Setter Property="BorderBrush" Value="{StaticResource CheckBoxStroke}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="FocusVisualStyle" Value="{StaticResource EmptyCheckBoxFocusVisual}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type CheckBox}">
						<ControlTemplate.Resources>
							<Storyboard x:Key="Check">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Visible}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
							<Storyboard x:Key="UnCheck">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Collapsed}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
						</ControlTemplate.Resources>
						<Border Width="30" Height="30">
							<Border.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFC7DCFE" Offset="0"/>
									<GradientStop Color="#FF7FA1FD" Offset="1"/>
								</LinearGradientBrush>
							</Border.Background>
							<Path Visibility="Collapsed" x:Name="path" Width="19.678" Height="18.182" Fill="#FF3F3F3F" Stretch="Fill" Stroke="{x:Null}" Data="M2.7005872,13.530775 L10.24024,16.127995 21.188366,4.5704192 11.39954,21.749903 z"/>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsChecked" Value="True">
								<Trigger.EnterActions>
									<BeginStoryboard Storyboard="{StaticResource Check}"/>
								</Trigger.EnterActions>
								<Trigger.ExitActions>
									<BeginStoryboard x:Name="UnCheck_BeginStoryboard" Storyboard="{StaticResource UnCheck}"/>
								</Trigger.ExitActions>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="PurpleCheckBoxStyle" TargetType="{x:Type CheckBox}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="{StaticResource CheckBoxFillNormal}"/>
			<Setter Property="BorderBrush" Value="{StaticResource CheckBoxStroke}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="FocusVisualStyle" Value="{StaticResource EmptyCheckBoxFocusVisual}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type CheckBox}">
						<ControlTemplate.Resources>
							<Storyboard x:Key="Check">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Visible}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
							<Storyboard x:Key="UnCheck">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Collapsed}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
						</ControlTemplate.Resources>
						<Border Width="30" Height="30">
							<Border.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFF0DDFF" Offset="0"/>
									<GradientStop Color="#FFD6A7FE" Offset="1"/>
								</LinearGradientBrush>
							</Border.Background>
							<Path Visibility="Collapsed" x:Name="path" Width="19.678" Height="18.182" Fill="#FF3F3F3F" Stretch="Fill" Stroke="{x:Null}" Data="M2.7005872,13.530775 L10.24024,16.127995 21.188366,4.5704192 11.39954,21.749903 z"/>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsChecked" Value="True">
								<Trigger.EnterActions>
									<BeginStoryboard Storyboard="{StaticResource Check}"/>
								</Trigger.EnterActions>
								<Trigger.ExitActions>
									<BeginStoryboard x:Name="UnCheck_BeginStoryboard" Storyboard="{StaticResource UnCheck}"/>
								</Trigger.ExitActions>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="PinkCheckBoxStyle" TargetType="{x:Type CheckBox}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="{StaticResource CheckBoxFillNormal}"/>
			<Setter Property="BorderBrush" Value="{StaticResource CheckBoxStroke}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="FocusVisualStyle" Value="{StaticResource EmptyCheckBoxFocusVisual}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type CheckBox}">
						<ControlTemplate.Resources>
							<Storyboard x:Key="Check">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Visible}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
							<Storyboard x:Key="UnCheck">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Collapsed}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
						</ControlTemplate.Resources>
						<Border Width="30" Height="30">
							<Border.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFF0DDFF" Offset="0"/>
									<GradientStop Color="#FFFE9BF5" Offset="1"/>
								</LinearGradientBrush>
							</Border.Background>
							<Path Visibility="Collapsed" x:Name="path" Width="19.678" Height="18.182" Fill="#FF3F3F3F" Stretch="Fill" Stroke="{x:Null}" Data="M2.7005872,13.530775 L10.24024,16.127995 21.188366,4.5704192 11.39954,21.749903 z"/>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsChecked" Value="True">
								<Trigger.EnterActions>
									<BeginStoryboard Storyboard="{StaticResource Check}"/>
								</Trigger.EnterActions>
								<Trigger.ExitActions>
									<BeginStoryboard x:Name="UnCheck_BeginStoryboard" Storyboard="{StaticResource UnCheck}"/>
								</Trigger.ExitActions>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="LightGrayCheckBoxStyle" TargetType="{x:Type CheckBox}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="{StaticResource CheckBoxFillNormal}"/>
			<Setter Property="BorderBrush" Value="{StaticResource CheckBoxStroke}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="FocusVisualStyle" Value="{StaticResource EmptyCheckBoxFocusVisual}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type CheckBox}">
						<ControlTemplate.Resources>
							<Storyboard x:Key="Check">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Visible}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
							<Storyboard x:Key="UnCheck">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Collapsed}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
						</ControlTemplate.Resources>
						<Border Width="30" Height="30">
							<Border.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFFFFEFE" Offset="0"/>
									<GradientStop Color="#FFEFEEEE" Offset="1"/>
								</LinearGradientBrush>
							</Border.Background>
							<Path Visibility="Collapsed" x:Name="path" Width="19.678" Height="18.182" Fill="#FF3F3F3F" Stretch="Fill" Stroke="{x:Null}" Data="M2.7005872,13.530775 L10.24024,16.127995 21.188366,4.5704192 11.39954,21.749903 z"/>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsChecked" Value="True">
								<Trigger.EnterActions>
									<BeginStoryboard Storyboard="{StaticResource Check}"/>
								</Trigger.EnterActions>
								<Trigger.ExitActions>
									<BeginStoryboard x:Name="UnCheck_BeginStoryboard" Storyboard="{StaticResource UnCheck}"/>
								</Trigger.ExitActions>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="GrayCheckBoxStyle" TargetType="{x:Type CheckBox}">
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="Background" Value="{StaticResource CheckBoxFillNormal}"/>
			<Setter Property="BorderBrush" Value="{StaticResource CheckBoxStroke}"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="FocusVisualStyle" Value="{StaticResource EmptyCheckBoxFocusVisual}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type CheckBox}">
						<ControlTemplate.Resources>
							<Storyboard x:Key="Check">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Visible}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
							<Storyboard x:Key="UnCheck">
								<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(UIElement.Visibility)">
									<DiscreteObjectKeyFrame KeyTime="00:00:00.1000000" Value="{x:Static Visibility.Collapsed}"/>
								</ObjectAnimationUsingKeyFrames>
							</Storyboard>
						</ControlTemplate.Resources>
						<Border Width="30" Height="30">
							<Border.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFE9E9E9" Offset="0"/>
									<GradientStop Color="#FFB6B6B6" Offset="1"/>
								</LinearGradientBrush>
							</Border.Background>
							<Path Visibility="Collapsed" x:Name="path" Width="19.678" Height="18.182" Fill="#FF3F3F3F" Stretch="Fill" Stroke="{x:Null}" Data="M2.7005872,13.530775 L10.24024,16.127995 21.188366,4.5704192 11.39954,21.749903 z"/>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsChecked" Value="True">
								<Trigger.EnterActions>
									<BeginStoryboard Storyboard="{StaticResource Check}"/>
								</Trigger.EnterActions>
								<Trigger.ExitActions>
									<BeginStoryboard x:Name="UnCheck_BeginStoryboard" Storyboard="{StaticResource UnCheck}"/>
								</Trigger.ExitActions>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<ObjectDataProvider x:Key="PostItFontsDS" d:IsDataSource="True" ObjectType="{x:Type myBoard_PostIt:PostItFonts}"/>
		<DataTemplate x:Key="PostItFontsTemplate">
			<Label Content="{Binding}" Padding="5,1,5,1"/>
		</DataTemplate>
	</UserControl.Resources>
	<UserControl.Triggers>
		<EventTrigger RoutedEvent="Mouse.MouseEnter" SourceName="grid">
			<BeginStoryboard Storyboard="{StaticResource ShowInfoButton}"/>      
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseLeave" SourceName="grid">
			<BeginStoryboard Storyboard="{StaticResource HideInfoButton}" x:Name="HideInfoButton_BeginStoryboard"/>
		</EventTrigger>
	</UserControl.Triggers>
    <Grid x:Name="_root">
            
    	<Grid HorizontalAlignment="Stretch" x:Name="_backSide" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Visibility="Hidden">
    		<Grid HorizontalAlignment="Left" VerticalAlignment="Top" Width="Auto" Height="Auto">
    			<Path Stretch="Fill" Stroke="{x:Null}" Data="M4.6067416,0.48689139 C4.6067416,0.48689139 4.9369634,160.32806 4.2321919,170.89838 3.8576167,176.51634 2.7338085,182.13451 2.7338085,182.13451 2.7338085,182.13451 30.826984,185.50516 119.22658,183.25798 207.62618,181.01079 213.62025,179.51259 213.62025,179.51259 213.62025,179.51259 209.49943,120.3367 209.12486,98.98843 208.75028,77.640164 208.00113,1.2358447 208.00113,1.2358447 z" RenderTransformOrigin="0.5,0.5">
    				<Path.RenderTransform>
    					<TransformGroup>
    						<ScaleTransform ScaleX="-1" ScaleY="1"/>
    						<SkewTransform AngleX="0" AngleY="0"/>
    						<RotateTransform Angle="0"/>
    						<TranslateTransform X="0" Y="0"/>
    					</TransformGroup>
    				</Path.RenderTransform>
    				<Path.Fill>
    					<LinearGradientBrush EndPoint="0.613,0.983" StartPoint="0.387,0.017">
    						<GradientStop Color="#FF7A7A7A" Offset="0"/>
    						<GradientStop Color="#FF414141" Offset="1"/>                
    					</LinearGradientBrush>
    				</Path.Fill>
    			</Path>
    			<Label VerticalAlignment="Top" Height="25" Content="Paper color :" HorizontalAlignment="Left" Margin="12,0,0,0" Foreground="#FFFFFFFF" FontWeight="Normal"/>
    			<Button HorizontalAlignment="Right" Margin="0,0,8.005,8.002" VerticalAlignment="Bottom" Width="Auto" Height="Auto" Content="Done" x:Name="_doneButton"/>
    			<WrapPanel HorizontalAlignment="Left" VerticalAlignment="Top" Width="216" Height="77" Margin="13,23,0,0" x:Name="_paperSamplesContainer">
    				<CheckBox Width="Auto" Height="Auto" Content="CheckBox" x:Name="_yellowPaperCbx" Style="{DynamicResource PaperCbxStyle}" IsChecked="False" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Margin="5,5,10,5"/>
    				<CheckBox Width="30" Height="30" Content="CheckBox" x:Name="_orangePaperCbx" Style="{DynamicResource OrangeCheckBoxStyle}" IsChecked="False" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Margin="0,0,10,0"/>
    				<CheckBox Width="30" Height="30" Content="CheckBox" x:Name="_lightgreenPaperCbx" Style="{DynamicResource LightGreenBoxStyle}" IsChecked="False" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Margin="0,0,10,0"/>
    				<CheckBox Width="30" Height="30" Content="CheckBox" x:Name="_greenPaperCbx" Style="{DynamicResource GreenCheckBoxStyle}" IsChecked="False" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Margin="0,0,10,0"/>
    				<CheckBox Width="30" Height="30" Content="CheckBox" x:Name="_lightbluePaperCbx" Style="{DynamicResource LightBlueCheckBoxStyle}" IsChecked="False" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}"/>
    				<CheckBox Width="30" Height="30" Content="CheckBox" x:Name="_bluePaperCbx" Style="{DynamicResource BlueCheckBoxStyle}" IsChecked="False" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Margin="5,5,10,0"/>
    				<CheckBox Width="30" Height="30" Content="CheckBox" x:Name="_purplePaperCbx" Style="{DynamicResource PurpleCheckBoxStyle}" IsChecked="False" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Margin="0,5,10,0"/>
    				<CheckBox Width="30" Height="30" Content="CheckBox" x:Name="_pinkPaperCbx" Style="{DynamicResource PinkCheckBoxStyle}" IsChecked="False" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Margin="0,5,10,0"/>
    				<CheckBox Width="30" Height="30" Content="CheckBox" x:Name="_lightgrayPaperCbx" Style="{DynamicResource LightGrayCheckBoxStyle}" IsChecked="False" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Margin="0,5,10,0"/>
    				<CheckBox Width="30" Height="30" Content="CheckBox" x:Name="_grayPaperCbx" Style="{DynamicResource GrayCheckBoxStyle}" IsChecked="False" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" Margin="0,5,0,0"/>
    			</WrapPanel>
    			<Label VerticalAlignment="Bottom" Height="25" Content="Font :" HorizontalAlignment="Left" Foreground="#FFFFFFFF" FontWeight="Normal" Margin="13,0,0,76"/>
    			<ComboBox IsSynchronizedWithCurrentItem="True" Margin="19,0,90,52" VerticalAlignment="Bottom" Height="24" x:Name="_fontSelector" IsReadOnly="True" ItemsSource="{Binding Mode=OneWay, Source={StaticResource PostItFontsDS}}" ItemTemplate="{DynamicResource PostItFontsTemplate}"/>
    			<ComboBox IsSynchronizedWithCurrentItem="True" Margin="0,0,8,52" VerticalAlignment="Bottom" Height="24" x:Name="_sizeSelector" IsReadOnly="True" ItemTemplate="{DynamicResource PostItFontsTemplate}" Width="65" HorizontalAlignment="Right">
    				<ListBoxItem Content="10"/>
					<ListBoxItem Content="12"/>
					<ListBoxItem Content="14"/>
					<ListBoxItem Content="16"/>
					<ListBoxItem Content="18"/>					
    			</ComboBox>
    		</Grid>
    	</Grid>
    	<Grid HorizontalAlignment="Stretch" x:Name="_frontSide" VerticalAlignment="Stretch" Width="Auto" Height="Auto">
    		<Border HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Background="{x:Null}">
    			<Grid Width="Auto" Height="Auto" x:Name="grid">
    				<Image Margin="0,0,-9.311,-11.518" Source="shadow.png" Stretch="Fill"/>
    				<Path Stretch="Fill" Stroke="{x:Null}" Data="M4.6067416,0.48689139 C4.6067416,0.48689139 4.9369634,160.32806 4.2321919,170.89838 3.8576167,176.51634 2.7338085,182.13451 2.7338085,182.13451 2.7338085,182.13451 30.826984,185.50516 119.22658,183.25798 207.62618,181.01079 213.62025,179.51259 213.62025,179.51259 213.62025,179.51259 209.49943,120.3367 209.12486,98.98843 208.75028,77.640164 208.00113,1.2358447 208.00113,1.2358447 z" x:Name="_postitShape">
    					<Path.Fill>
    						<LinearGradientBrush EndPoint="0.613,0.983" StartPoint="0.387,0.017">
    							<GradientStop Color="#FFFEF8BF" Offset="0"/>
    							<GradientStop Color="#FFFDEC74" Offset="1"/>
    						</LinearGradientBrush>
    					</Path.Fill>
    				</Path>
    				<TextBox Background="{x:Null}" BorderBrush="{x:Null}" FontSize="14" FontWeight="Bold" Foreground="#FF414141" x:Name="_tbx" Style="{DynamicResource TextBoxStyle1}" Text="" TextWrapping="NoWrap" AcceptsReturn="True" AcceptsTab="True" d:IsStaticText="False" Margin="10,15,10,24" FontFamily="Segoe Print" VerticalAlignment="Top" SpellCheck.IsEnabled="False"/>
    				<Button HorizontalAlignment="Right" x:Name="_frontFlipButton" VerticalAlignment="Bottom" Content="Setup" FontSize="10" Style="{DynamicResource InfoButStyle}" Opacity="0" Margin="0,0,10,8" d:LayoutOverrides="Height"/>
    			</Grid>
    		</Border>
    	</Grid>
    	<Grid HorizontalAlignment="Stretch" x:Name="_flipzone" VerticalAlignment="Stretch" Width="Auto" Height="Auto" d:IsHidden="True"/>
            
    </Grid>
</UserControl>
